<!DOCTYPE html>
<html lang="en" class="js csstransforms3d">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="generator" content="Hugo 0.60.1"/>
    <meta name="description" content="Documentation for Hugo Learn Theme">
    <meta name="author" content="Mathieu Cornic">

    <link rel="icon" href="./static/images/favicon.png" type="image/png">

    <title>Learn Theme for Hugo :: Documentation for Hugo Learn Theme</title>


    <link href="./static/css/nucleus.css" rel="stylesheet">
    <link href="./static/css/fontawesome-all.min.css" rel="stylesheet">
    <link href="./static/css/hybrid.css" rel="stylesheet">
    <link href="./static/css/featherlight.min.css" rel="stylesheet">
    <link href="./static/css/perfect-scrollbar.min.css" rel="stylesheet">
    <link href="./static/css/auto-complete.css" rel="stylesheet">
    <link href="./static/css/atom-one-dark-reasonable.css" rel="stylesheet">
    <link href="./static/css/theme.css" rel="stylesheet">
    <link href="./static/css/hugo-theme.css" rel="stylesheet">
    <link href="./static/css/theme-green.css" rel="stylesheet">
    <link href="./static/mermaid/mermaid.css" rel="stylesheet"/>
    <script src="./static/js/jquery-3.3.1.min.js"></script>
    <script src="./static/js/clipboard.min.js"></script>
    <script src="./static/js/perfect-scrollbar.min.js"></script>
    <script src="./static/js/perfect-scrollbar.jquery.min.js"></script>
    <script src="./static/js/jquery.sticky.js"></script>
    <script src="./static/js/featherlight.min.js"></script>
    <script src="./static/js/highlight.min.js"></script>
    <script src="./static/js/modernizr.custom-3.6.0.js"></script>
    <script src="./static/js/learn.js"></script>
    <script src="./static/js/hugo-learn.js"></script>
    <script src="./static/mermaid/mermaid.js"></script>
    <script src="./static/js/lunr.min.js"></script>
    <script src="./static/js/auto-complete.js"></script>
    <script src="./static/js/template.js"></script>
    <script src="./static/js/showdown.min.js"></script>
    <script src="./static/js/showdown-toc.js"></script>
    <script type="text/javascript">
        var baseSiteUrl = "https://htpmo.gitee.io/fdmp-docs";
        var baseDockUrl = "https://gitee.com/HTPMO/FDMP-DOCS/raw/docs-1.0/";
    </script>

    <style>
        :root #header + #content > #left > #rlblock_left{
          display:none !important;
        }
        #sidebar ul.topics ul {
            display: block;
        }
    </style>

</head>
<body>
<nav id="sidebar" class="showVisitedLinks">
    <div id="header-wrapper">
        <div id="header">
            <a id="logo" href=".">
                <svg id="grav-logo" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg"
                     width="100%" height="100%" viewBox="0 0 285.1 69.9" xml:space="preserve">
<g>
	<path d="M35,0c9.6,0,17.9,3.4,24.7,10.3c6.8,6.8,10.3,15,10.3,24.7c0,9.7-3.4,17.9-10.3,24.7c-6.8,6.8-15,10.3-24.7,10.3
		c-9.7,0-17.9-3.4-24.7-10.3C3.4,52.8,0,44.6,0,34.9c0-9.6,3.4-17.9,10.3-24.7C17.1,3.4,25.3,0,35,0z M22.3,63.7
		c0.3-7.4,0.3-14.7,0-22.1c-2.1-0.4-4-0.4-5.9,0c-0.2,0.8-0.2,2.5-0.1,4.9c0.1,2.3,0,3.9-0.3,4.8c-1.7-0.6-2.7-2.1-3.1-4.6
		c-0.1-0.7-0.1-3.3-0.1-8c0-14.5-0.1-23-0.3-25.6c-3.6,4.1-5.6,7-5.9,8.5v10.9c0,4.5,0.1,8.1,0.2,10.9c0,0.4,0,1.3-0.1,2.8
		c-0.1,1.2,0,2.1,0.1,2.6c0.1,0.6,1.1,2.1,2.8,4.7C13.2,58.7,17.5,62.2,22.3,63.7z M44.6,65.4c0.3-5,0.2-12.9-0.1-23.6
		c-2.1-0.3-4.1-0.3-5.9,0c-0.2,2-0.2,5.1-0.1,9.5c0.1,4.3,0,7.5-0.1,9.5c-2.9,0.4-5,0.3-6.2-0.1c-0.2-5.6-0.2-15.2-0.1-28.7
		c0.1-12.4,0-21.8-0.3-28.3c-2.4,0.1-4.3,0.6-5.7,1.3c-0.1,7.7-0.2,17.7-0.1,30.1c0,16.5,0,26.6,0,30.3c2.3,1.1,5.4,1.7,9.4,1.7
		C38.9,66.9,42.1,66.4,44.6,65.4z M48.1,64.1c9.7-4.6,15.7-12,18-22.2c-1.8-0.2-3.8-0.3-6.1-0.3c-1.6,3.9-2.6,6.3-3.2,7.2
		c-1.1,1.7-2,2.5-2.7,2.5C54,46,54,39.1,54,30.5c0-11.5,0-18.4,0-20.9c-1.4-1.4-3.3-2.5-5.7-3.4C48.1,6.3,48,6.4,48,6.7
		c0,3.5,0,13.1,0,28.8C47.9,47.2,48,56.8,48.1,64.1z"/>
</g>
                    <g>
	<path d="M116.6,51.3h-29c-0.5,0-0.9-0.1-1.3-0.2c-0.4-0.2-0.7-0.4-1-0.7c-0.3-0.3-0.5-0.6-0.7-1c-0.2-0.4-0.2-0.8-0.2-1.3V16.3h6.3
		V45h25.8V51.3z"/>
                        <path d="M154.8,51.3h-22.9c-0.9,0-1.8-0.2-2.9-0.5c-1-0.3-2-0.8-2.9-1.5c-0.9-0.7-1.6-1.6-2.2-2.8c-0.6-1.1-0.9-2.5-0.9-4.2V19.5
		c0-0.4,0.1-0.9,0.2-1.2c0.2-0.4,0.4-0.7,0.7-1c0.3-0.3,0.6-0.5,1-0.7c0.4-0.2,0.8-0.2,1.3-0.2h28.6v6.3h-25.4v19.8
		c0,0.8,0.2,1.5,0.7,1.9s1.1,0.7,1.9,0.7h22.9V51.3z M151.9,37h-20v-6.4h20V37z"/>
                        <path d="M197.3,51.3H191v-8.6h-22.3v8.6h-6.3V33.8c0-2.6,0.4-4.9,1.3-7.1s2.1-4,3.7-5.5c1.6-1.5,3.4-2.8,5.5-3.6
		c2.1-0.9,4.5-1.3,7-1.3h14.3c0.4,0,0.9,0.1,1.2,0.2c0.4,0.2,0.7,0.4,1,0.7s0.5,0.6,0.7,1c0.2,0.4,0.2,0.8,0.2,1.2V51.3z
		 M168.7,36.4H191V22.6h-11.2c-0.2,0-0.6,0-1.2,0.1c-0.6,0.1-1.4,0.2-2.2,0.4c-0.8,0.2-1.7,0.6-2.6,1c-0.9,0.5-1.8,1.1-2.5,2
		c-0.8,0.8-1.4,1.9-1.9,3.1c-0.5,1.2-0.7,2.8-0.7,4.5V36.4z"/>
                        <path d="M241.7,28.1c0,1.4-0.2,2.7-0.5,3.9c-0.4,1.1-0.8,2.1-1.5,3c-0.6,0.9-1.3,1.6-2.1,2.2c-0.8,0.6-1.6,1.1-2.5,1.5
		c-0.9,0.4-1.8,0.7-2.6,0.9c-0.9,0.2-1.7,0.3-2.5,0.3l13.3,11.5h-9.8l-13.2-11.5h-4.6v-6.3H230c0.8-0.1,1.5-0.2,2.2-0.5
		c0.7-0.3,1.2-0.6,1.7-1.1c0.5-0.5,0.9-1,1.1-1.6c0.3-0.6,0.4-1.4,0.4-2.2v-4c0-0.4,0-0.6-0.1-0.8c-0.1-0.2-0.2-0.3-0.3-0.4
		c-0.1-0.1-0.3-0.1-0.4-0.2c-0.2,0-0.3,0-0.4,0h-20.9v28.7h-6.3V19.5c0-0.4,0.1-0.9,0.2-1.2c0.2-0.4,0.4-0.7,0.7-1
		c0.3-0.3,0.6-0.5,1-0.7c0.4-0.2,0.8-0.2,1.3-0.2H234c1.4,0,2.6,0.3,3.6,0.8s1.8,1.2,2.4,1.9c0.6,0.8,1,1.6,1.3,2.5
		c0.3,0.9,0.4,1.7,0.4,2.5V28.1z"/>
                        <path d="M285.1,48.6c0,0.5-0.1,0.9-0.3,1.3c-0.2,0.4-0.4,0.7-0.7,1c-0.3,0.3-0.6,0.5-1,0.7c-0.4,0.2-0.8,0.2-1.2,0.2
		c-0.4,0-0.8-0.1-1.2-0.2c-0.4-0.1-0.8-0.4-1.1-0.7l-23.2-24.2v24.7h-6.3V19c0-0.7,0.2-1.2,0.5-1.8c0.4-0.5,0.8-0.9,1.4-1.2
		c0.6-0.2,1.2-0.3,1.9-0.2s1.2,0.4,1.6,0.9l23.2,24.2V16.3h6.3V48.6z"/>
</g>
</svg>
            </a>
        </div>

        <div class="searchbox">
            <label for="search-by"><i class="fas fa-search"></i></label>
            <input data-search-input id="search-by" type="search" placeholder="Search...">
            <span data-search-clear=""><i class="fas fa-times"></i></span>
        </div>
    </div>

    <div class="highlightable" id="left_topics">
    </div>
</nav>

<section id="body">
    <div id="overlay"></div>
    <div class="padding highlightable">
        <div id="head-tags">
        </div>
        <div id="body-inner">
            <span id="sidebar-toggle-span">
                <a href="#" id="sidebar-toggle" data-sidebar-toggle="" class="highlight"><i class="fas fa-bars"></i> navigation</a>
            </span>
            <div id="bodyColumn">
            </div>
        </div>
    </div>
</section>

<div class="edit" style="position: absolute; right: 20px; top: 20px;">
    <a href="javascript:;" onclick="this.href=getEditUrl()" target="_blank"><i class="fas fa-pencil-alt"></i></a>
</div>

<div style="left: -1000px; overflow: scroll; position: absolute; top: -1000px; border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;">
    <div style="border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;"></div>
</div>
<template id="tpl_left_topics">
    <ul class="topics">
        <!--# for(var i=0; i<(args||[]).length; i++){ var item = args[i]; #-->
        <li title="{{item.title}}">
            <a href="{{item.href}}" class="{{item.href.endsWith('.md')?'loadable':''}}">
                <b>{{i+1}}. </b>{{item.title}}
                <i class="fas fa-check read-icon"></i>
            </a>
            <!--# if((item.items||[]).length>0){#-->
            <ul>
                <!--# for(var sub1=0; sub1<item.items.length; sub1++){ var subItem1 = item.items[sub1]; #-->
                <li title="{{subItem1.title}}">
                    <a href="{{subItem1.href}}" class="{{subItem1.href.endsWith('.md')?'loadable':''}}">
                        <b>{{i+1}}.{{sub1+1}}. </b>{{subItem1.title}}
                        <i class="fas fa-check read-icon"></i>
                    </a>
                    <!--# if((subItem1.items||[]).length>0){ #-->
                    <ul>
                        <!--# for(var sub2=0; sub2<subItem1.items.length; sub2++){ var subItem2 = subItem1.items[sub2]; #-->
                        <li title="{{subItem2.title}}">
                            <a href="{{subItem2.href}}" class="{{subItem2.href.endsWith('.md')?'loadable':''}}">
                                <b>{{i+1}}.{{sub1+1}}.{{sub2+1}}. </b>{{subItem2.title}}
                                <i class="fas fa-check read-icon"></i>
                            </a>
                            <!--# if((subItem2.items||[]).length>0){ #-->
                            <ul>
                                <!--# for(var sub3=0; sub3<subItem2.items.length; sub3++){ var subItem3 = subItem2.items[sub3]; #-->
                                <li title="{{subItem3.title}}">
                                    <a href="{{subItem3.href}}" class="{{subItem3.href.endsWith('.md')?'loadable':''}}">
                                        <b>{{i+1}}.{{sub1+1}}.{{sub2+1}}.{{sub3+1}}. </b>{{subItem3.title}}
                                        <i class="fas fa-check read-icon"></i>
                                    </a>
                                    <!--# if((subItem3.items||[]).length>0){ #-->
                                    <ul>
                                        <!--# for(var sub4=0; sub4<subItem3.items.length; sub4++){ var subItem4 = subItem3.items[sub4]; #-->
                                        <li title="{{subItem4.title}}">
                                            <a href="{{subItem4.href}}" class="{{subItem4.href.endsWith('.md')?'loadable':''}}">
                                                {{subItem4.title}}
                                                <i class="fas fa-check read-icon"></i>
                                            </a>
                                        </li>
                                        <!--#}/*edit-level4*/#-->
                                    </ul>
                                    <!--# }/*end-if*/ #-->
                                </li>
                                <!--#}/*edit-level3*/#-->
                            </ul>
                            <!--# }/*end-if*/ #-->
                        </li>
                        <!--#}/*edit-level2*/#-->
                    </ul>
                    <!--# }/*end-if*/ #-->
                </li>
                <!--#}/*edit-level1*/#-->
            </ul>
            <!--# }/*end-if*/ #-->
        </li>
        <!--#}/*edit-top*/#-->
    </ul>
    <section id="shortcuts">
        <h3>More</h3>
        <ul>
<!--            <li>-->
<!--                <a class="padding" href="https://github.com/matcornic/hugo-theme-learn"><i-->
<!--                        class='fab fa-fw fa-github'></i> GitHub repo</a>-->
<!--            </li>-->
<!--            <li>-->
<!--                <a class="padding" href="https://htpmo.gitee.io/fdmp-docs/quickstart/public/en/showcase"><i-->
<!--                        class='fas fa-fw fa-camera'></i> Showcases</a>-->
<!--            </li>-->
<!--            <li>-->
<!--                <a class="padding" href="https://gohugo.io/"><i class='fas fa-fw fa-bookmark'></i> Hugo-->
<!--                    Documentation</a>-->
<!--            </li>-->
<!--            <li>-->
<!--                <a class="padding" href="https://htpmo.gitee.io/en/fdmp-docs/quickstart/public/credits"><i-->
<!--                        class='fas fa-fw fa-bullhorn'></i> Credits</a>-->
<!--            </li>-->
        </ul>
    </section>
</template>
<script>
var currentTime = new Date().getTime();
$(document).ready(function(){
    mermaid.initialize({ startOnLoad: true });
    $("#left_topics").on("click", ".loadable", function(event){
        event.preventDefault();
        loadMarkDown($(this).attr("href"));
    });
    $.ajax({
        method: "GET",
        url: "./static/data/data.json?_="+currentTime,
        dataType : "json"
    }).done(function(json) {
        var tpl=Template($("#tpl_left_topics").html());
        var success=function(out, data){
            $("#left_topics").empty().append(out);
        };
        var error=function(out, data, script){
            $("#left_topics").empty().append(out+"\n"+data+"\n"+script);
        };
        var html = tpl.render(json, success, error);
    });
    loadMarkDown("./readme.md");
});
function loadMarkDown(href){
    if(href==null || href=="" || href=="#" || href=="."){
        href = "./readme.md";
    }
    //href = baseDockUrl+(href.indexOf("./")==0?href.substring(2):(href.indexOf("/")==0?href.substring(1):href));
    window.currentMarkdown = href;
    $.ajax({
        method: "GET",
        url: href+"?_"+currentTime,
        dataType : "text"
    }).done(function(text) {
        showdown.extension('showdownToc', showdownToc);
        var options = {tables: true, strikethrough: true, parseImgDimensions: true, rawHeaderId: true, extensions: ['showdownToc']};
        $("#bodyColumn").empty().html(new showdown.Converter(options).makeHtml(text));
        var codes = document.querySelectorAll('pre code');
        for(var i=0; i<codes.length; i++){
           hljs.highlightBlock(codes[i]);
        }
    });
}
function getEditUrl() {
    try{
        /* for git bun
        var edit_url="https://github.com/{user}/{project}/edit/gh-pages/{path}/{file}";
        //blog url -> http://tylerchen.github.io/Blogs/programming/?md=java-jna-lib-load.md
        var href=location.href.split('/');//["http:", "", "tylerchen.github.io", "Blogs", "programming", "?md=java-jna-lib-load.md"]
        var params=[href[2].substring(0,href[2].indexOf('.')),href[3],href.slice(4,href.length-1).join('/'),href[href.length-1].substring(href[href.length-1].indexOf('=')+1)];
        return edit_url.replace('{user}',params[0]).replace('{project}',params[1]).replace('{path}',params[2].replace(/^\//,'').replace(/\/$/,'')).replace('{file}',params[3]);
        */
        //https://gitee.com/tylerchen/tigon-site/edit/master/site/docs/wiki/readme.md
        //var edit_url="https://gitee.com/{user}/{project}/edit/master/site/{path}/{file}";
        var edit_url="https://gitee.com/tylerchen/docs/edit/master/{file}";
        //blog url -> http://tylerchen.github.io/Blogs/programming/?md=java-jna-lib-load.md
        //var href=location.href.split('/');//["http:", "", "tylerchen.github.io", "Blogs", "programming", "?md=java-jna-lib-load.md"]
        var href = window.currentMarkdown||"readme.md";
        if(href.indexOf("./")==0){
            href = href.substring(2);
        }
        //var params=[href[2].substring(0,href[2].indexOf('.')),href[3],href.slice(4,href.length-1).join('/'),href[href.length-1].substring(href[href.length-1].indexOf('=')+1)];
        //return edit_url.replace('{user}',params[0]).replace('{project}',params[1]).replace('{path}',params[2].replace(/^\//,'').replace(/\/$/,'')).replace('{file}',params[3]||'readme.md');
        return edit_url.replace('{file}',href);
    }catch(err){return location.href;}
}
</script>
</body>
</html>
